<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: Private implementation helpers</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Private implementation helpers<div class="ingroups"><a class="el" href="../../d0/de1/group__core.html">Core functionality</a> &raquo; <a class="el" href="../../de/d85/group__core__hal.html">Hardware Acceleration Layer</a> &raquo; <a class="el" href="../../df/d91/group__core__hal__intrin.html">Universal intrinsics</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gad1e58f5f11e0f285dd9d72aac7216dd8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#gad1e58f5f11e0f285dd9d72aac7216dd8">OPENCV_HAL_IMPL_ARITHM_OP</a>(func,  bin_op,  cast_op,  _Tp2)</td></tr>
<tr class="memdesc:gad1e58f5f11e0f285dd9d72aac7216dd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#gad1e58f5f11e0f285dd9d72aac7216dd8">More...</a><br /></td></tr>
<tr class="separator:gad1e58f5f11e0f285dd9d72aac7216dd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c426692df62d15caf521a91e642a0b4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga0c426692df62d15caf521a91e642a0b4">OPENCV_HAL_IMPL_C_INIT_VAL</a>(_Tpvec,  _Tp,  prefix,  suffix)&#160;&#160;&#160;inline _Tpvec prefix##_setall_##suffix(_Tp val) { return _Tpvec::all(val); }</td></tr>
<tr class="memdesc:ga0c426692df62d15caf521a91e642a0b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga0c426692df62d15caf521a91e642a0b4">More...</a><br /></td></tr>
<tr class="separator:ga0c426692df62d15caf521a91e642a0b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f6ef75e4c0228fa192aa120b77ff45e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga4f6ef75e4c0228fa192aa120b77ff45e">OPENCV_HAL_IMPL_C_INIT_ZERO</a>(_Tpvec,  prefix,  suffix)&#160;&#160;&#160;inline _Tpvec prefix##_setzero_##suffix() { return _Tpvec::zero(); }</td></tr>
<tr class="memdesc:ga4f6ef75e4c0228fa192aa120b77ff45e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga4f6ef75e4c0228fa192aa120b77ff45e">More...</a><br /></td></tr>
<tr class="separator:ga4f6ef75e4c0228fa192aa120b77ff45e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdcecd71a5efc025c9e0c3069fb5b29a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#gacdcecd71a5efc025c9e0c3069fb5b29a">OPENCV_HAL_IMPL_C_PACK</a>(_Tp,  _Tpn,  pack_suffix,  cast)</td></tr>
<tr class="memdesc:gacdcecd71a5efc025c9e0c3069fb5b29a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#gacdcecd71a5efc025c9e0c3069fb5b29a">More...</a><br /></td></tr>
<tr class="separator:gacdcecd71a5efc025c9e0c3069fb5b29a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaed615335a30e1fe5f5c4ecd4833bd351"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#gaed615335a30e1fe5f5c4ecd4833bd351">OPENCV_HAL_IMPL_C_PACK_STORE</a>(_Tp,  _Tpn,  pack_suffix,  cast)</td></tr>
<tr class="memdesc:gaed615335a30e1fe5f5c4ecd4833bd351"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#gaed615335a30e1fe5f5c4ecd4833bd351">More...</a><br /></td></tr>
<tr class="separator:gaed615335a30e1fe5f5c4ecd4833bd351"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c81a44e20768e8a10451e7e5b9558b7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga9c81a44e20768e8a10451e7e5b9558b7">OPENCV_HAL_IMPL_C_REINTERPRET</a>(_Tp,  suffix)</td></tr>
<tr class="memdesc:ga9c81a44e20768e8a10451e7e5b9558b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga9c81a44e20768e8a10451e7e5b9558b7">More...</a><br /></td></tr>
<tr class="separator:ga9c81a44e20768e8a10451e7e5b9558b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga109818b63e8fc337bcc024de9c97a914"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga109818b63e8fc337bcc024de9c97a914">OPENCV_HAL_IMPL_C_RSHIFTR</a>(_Tp)</td></tr>
<tr class="memdesc:ga109818b63e8fc337bcc024de9c97a914"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga109818b63e8fc337bcc024de9c97a914">More...</a><br /></td></tr>
<tr class="separator:ga109818b63e8fc337bcc024de9c97a914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ced893b5bb026257317766692bf1bd8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga1ced893b5bb026257317766692bf1bd8">OPENCV_HAL_IMPL_C_RSHR_PACK</a>(_Tp,  _Tpn,  pack_suffix,  cast)</td></tr>
<tr class="memdesc:ga1ced893b5bb026257317766692bf1bd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga1ced893b5bb026257317766692bf1bd8">More...</a><br /></td></tr>
<tr class="separator:ga1ced893b5bb026257317766692bf1bd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f590e5a179618928533df41dc28f40b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga8f590e5a179618928533df41dc28f40b">OPENCV_HAL_IMPL_C_RSHR_PACK_STORE</a>(_Tp,  _Tpn,  pack_suffix,  cast)</td></tr>
<tr class="memdesc:ga8f590e5a179618928533df41dc28f40b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga8f590e5a179618928533df41dc28f40b">More...</a><br /></td></tr>
<tr class="separator:ga8f590e5a179618928533df41dc28f40b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37ff8c45b372368068129941b68ce7e1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga37ff8c45b372368068129941b68ce7e1">OPENCV_HAL_IMPL_C_SHIFTL</a>(_Tp)</td></tr>
<tr class="memdesc:ga37ff8c45b372368068129941b68ce7e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga37ff8c45b372368068129941b68ce7e1">More...</a><br /></td></tr>
<tr class="separator:ga37ff8c45b372368068129941b68ce7e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga18175ded6eefa9ee4ea7c824fbed8e66"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga18175ded6eefa9ee4ea7c824fbed8e66">OPENCV_HAL_IMPL_C_SHIFTR</a>(_Tp)</td></tr>
<tr class="memdesc:ga18175ded6eefa9ee4ea7c824fbed8e66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga18175ded6eefa9ee4ea7c824fbed8e66">More...</a><br /></td></tr>
<tr class="separator:ga18175ded6eefa9ee4ea7c824fbed8e66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga24ff6e3ec8d93d9e0dde4f308c8ad0cd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga24ff6e3ec8d93d9e0dde4f308c8ad0cd">OPENCV_HAL_IMPL_CMP_OP</a>(cmp_op)</td></tr>
<tr class="memdesc:ga24ff6e3ec8d93d9e0dde4f308c8ad0cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga24ff6e3ec8d93d9e0dde4f308c8ad0cd">More...</a><br /></td></tr>
<tr class="separator:ga24ff6e3ec8d93d9e0dde4f308c8ad0cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab5dddc36659025bcf499054aa6ee267"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#gaab5dddc36659025bcf499054aa6ee267">OPENCV_HAL_IMPL_MATH_FUNC</a>(func,  cfunc,  _Tp2)</td></tr>
<tr class="memdesc:gaab5dddc36659025bcf499054aa6ee267"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#gaab5dddc36659025bcf499054aa6ee267">More...</a><br /></td></tr>
<tr class="separator:gaab5dddc36659025bcf499054aa6ee267"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa707e5c423dc3b46968f579d25d40d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#gafa707e5c423dc3b46968f579d25d40d8">OPENCV_HAL_IMPL_MINMAX_FUNC</a>(func,  cfunc)</td></tr>
<tr class="memdesc:gafa707e5c423dc3b46968f579d25d40d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#gafa707e5c423dc3b46968f579d25d40d8">More...</a><br /></td></tr>
<tr class="separator:gafa707e5c423dc3b46968f579d25d40d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52fcf2ab9074198d8ea7f2643e891720"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga52fcf2ab9074198d8ea7f2643e891720">OPENCV_HAL_IMPL_REDUCE_MINMAX_FUNC</a>(func,  cfunc)</td></tr>
<tr class="memdesc:ga52fcf2ab9074198d8ea7f2643e891720"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga52fcf2ab9074198d8ea7f2643e891720">More...</a><br /></td></tr>
<tr class="separator:ga52fcf2ab9074198d8ea7f2643e891720"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2323457942fdb195a2b1b6aac3bad605"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#ga2323457942fdb195a2b1b6aac3bad605">OPENCV_HAL_IMPL_ROTATE_SHIFT_OP</a>(suffix,  opA,  opB)</td></tr>
<tr class="memdesc:ga2323457942fdb195a2b1b6aac3bad605"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#ga2323457942fdb195a2b1b6aac3bad605">More...</a><br /></td></tr>
<tr class="separator:ga2323457942fdb195a2b1b6aac3bad605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc208994b4622b8ef3e21fdad7e387c2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d96/group__core__hal__intrin__impl.html#gafc208994b4622b8ef3e21fdad7e387c2">OPENCV_HAL_IMPL_SHIFT_OP</a>(shift_op)</td></tr>
<tr class="memdesc:gafc208994b4622b8ef3e21fdad7e387c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper macro.  <a href="#gafc208994b4622b8ef3e21fdad7e387c2">More...</a><br /></td></tr>
<tr class="separator:gafc208994b4622b8ef3e21fdad7e387c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gad1e58f5f11e0f285dd9d72aac7216dd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad1e58f5f11e0f285dd9d72aac7216dd8">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_ARITHM_OP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_ARITHM_OP</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">func, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">bin_op, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cast_op, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp2&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">int</span> n&gt; \</div><div class="line">inline v_reg&lt;_Tp2, n&gt; func(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a, <span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; b) \</div><div class="line">{ \</div><div class="line">    typedef _Tp2 rtype; \</div><div class="line">    v_reg&lt;rtype, n&gt; c; \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">        c.s[i] = cast_op(a.s[i] bin_op b.s[i]); \</div><div class="line">    return c; \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga0c426692df62d15caf521a91e642a0b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0c426692df62d15caf521a91e642a0b4">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_INIT_VAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_INIT_VAL</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tpvec, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prefix, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">suffix&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;inline _Tpvec prefix##_setall_##suffix(_Tp val) { return _Tpvec::all(val); }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>

<p>Helper macro. </p>

</div>
</div>
<a id="ga4f6ef75e4c0228fa192aa120b77ff45e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4f6ef75e4c0228fa192aa120b77ff45e">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_INIT_ZERO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_INIT_ZERO</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tpvec, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prefix, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">suffix&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;inline _Tpvec prefix##_setzero_##suffix() { return _Tpvec::zero(); }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>

<p>Helper macro. </p>

</div>
</div>
<a id="gacdcecd71a5efc025c9e0c3069fb5b29a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacdcecd71a5efc025c9e0c3069fb5b29a">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_PACK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_PACK</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tpn, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pack_suffix, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cast&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> v_reg&lt;_Tpn, 2*n&gt; v_##pack_suffix(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a, <span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; b) \</div><div class="line">{ \</div><div class="line">    v_reg&lt;_Tpn, 2*n&gt; c; \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">    { \</div><div class="line">        c.s[i] = cast&lt;_Tpn&gt;(a.s[i]); \</div><div class="line">        c.s[i+n] = cast&lt;_Tpn&gt;(b.s[i]); \</div><div class="line">    } \</div><div class="line">    return c; \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="gaed615335a30e1fe5f5c4ecd4833bd351"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaed615335a30e1fe5f5c4ecd4833bd351">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_PACK_STORE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_PACK_STORE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tpn, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pack_suffix, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cast&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> <span class="keywordtype">void</span> v_##pack_suffix##_store(_Tpn* ptr, <span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a) \</div><div class="line">{ \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">        ptr[i] = cast&lt;_Tpn&gt;(a.s[i]); \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga9c81a44e20768e8a10451e7e5b9558b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9c81a44e20768e8a10451e7e5b9558b7">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_REINTERPRET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_REINTERPRET</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">suffix&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp0, <span class="keywordtype">int</span> n0&gt; <span class="keyword">inline</span> v_reg&lt;_Tp, n0*<span class="keyword">sizeof</span>(_Tp0)/<span class="keyword">sizeof</span>(_Tp)&gt; \</div><div class="line">    v_reinterpret_as_##suffix(<span class="keyword">const</span> v_reg&lt;_Tp0, n0&gt;&amp; a) \</div><div class="line">{ <span class="keywordflow">return</span> a.template reinterpret_as&lt;_Tp, n0*<span class="keyword">sizeof</span>(_Tp0)/<span class="keyword">sizeof</span>(_Tp)&gt;(); }</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga109818b63e8fc337bcc024de9c97a914"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga109818b63e8fc337bcc024de9c97a914">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_RSHIFTR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_RSHIFTR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keywordtype">int</span> shift, <span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> v_reg&lt;_Tp, n&gt; <a class="code" href="../../df/d91/group__core__hal__intrin.html#ga14ac24522be31f6146ec557ada3c6094">v_rshr</a>(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a) \</div><div class="line">{ \</div><div class="line">    v_reg&lt;_Tp, n&gt; c; \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">        c.s[i] = (_Tp)((a.s[i] + ((_Tp)1 &lt;&lt; (shift - 1))) &gt;&gt; shift); \</div><div class="line">    return c; \</div><div class="line">}</div><div class="ttc" id="group__core__hal__intrin_html_ga14ac24522be31f6146ec557ada3c6094"><div class="ttname"><a href="../../df/d91/group__core__hal__intrin.html#ga14ac24522be31f6146ec557ada3c6094">cv::v_rshr</a></div><div class="ttdeci">v_reg&lt; int64, n &gt; v_rshr(const v_reg&lt; int64, n &gt; &amp;a)</div><div class="ttdef"><b>Definition:</b> intrin_cpp.hpp:2949</div></div>
</div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga1ced893b5bb026257317766692bf1bd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ced893b5bb026257317766692bf1bd8">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_RSHR_PACK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_RSHR_PACK</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tpn, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pack_suffix, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cast&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keywordtype">int</span> shift, <span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> v_reg&lt;_Tpn, 2*n&gt; v_rshr_##pack_suffix(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a, <span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; b) \</div><div class="line">{ \</div><div class="line">    v_reg&lt;_Tpn, 2*n&gt; c; \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">    { \</div><div class="line">        c.s[i] = cast&lt;_Tpn&gt;((a.s[i] + ((_Tp)1 &lt;&lt; (shift - 1))) &gt;&gt; shift); \</div><div class="line">        c.s[i+n] = cast&lt;_Tpn&gt;((b.s[i] + ((_Tp)1 &lt;&lt; (shift - 1))) &gt;&gt; shift); \</div><div class="line">    } \</div><div class="line">    return c; \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga8f590e5a179618928533df41dc28f40b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8f590e5a179618928533df41dc28f40b">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_RSHR_PACK_STORE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_RSHR_PACK_STORE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tpn, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pack_suffix, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cast&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keywordtype">int</span> shift, <span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> <span class="keywordtype">void</span> v_rshr_##pack_suffix##_store(_Tpn* ptr, <span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a) \</div><div class="line">{ \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">        ptr[i] = cast&lt;_Tpn&gt;((a.s[i] + ((_Tp)1 &lt;&lt; (shift - 1))) &gt;&gt; shift); \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga37ff8c45b372368068129941b68ce7e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga37ff8c45b372368068129941b68ce7e1">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_SHIFTL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_SHIFTL</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keywordtype">int</span> shift, <span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> v_reg&lt;_Tp, n&gt; <a class="code" href="../../df/d91/group__core__hal__intrin.html#ga84aa9caadbb52978385be9657ab6976b">v_shl</a>(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a) \</div><div class="line">{ <span class="keywordflow">return</span> a &lt;&lt; shift; }</div><div class="ttc" id="group__core__hal__intrin_html_ga84aa9caadbb52978385be9657ab6976b"><div class="ttname"><a href="../../df/d91/group__core__hal__intrin.html#ga84aa9caadbb52978385be9657ab6976b">cv::v_shl</a></div><div class="ttdeci">v_reg&lt; int64, n &gt; v_shl(const v_reg&lt; int64, n &gt; &amp;a)</div><div class="ttdef"><b>Definition:</b> intrin_cpp.hpp:2910</div></div>
</div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga18175ded6eefa9ee4ea7c824fbed8e66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga18175ded6eefa9ee4ea7c824fbed8e66">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_C_SHIFTR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_C_SHIFTR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keywordtype">int</span> shift, <span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> v_reg&lt;_Tp, n&gt; <a class="code" href="../../df/d91/group__core__hal__intrin.html#ga3310a655662adf707fa342f486b234c4">v_shr</a>(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a) \</div><div class="line">{ <span class="keywordflow">return</span> a &gt;&gt; shift; }</div><div class="ttc" id="group__core__hal__intrin_html_ga3310a655662adf707fa342f486b234c4"><div class="ttname"><a href="../../df/d91/group__core__hal__intrin.html#ga3310a655662adf707fa342f486b234c4">cv::v_shr</a></div><div class="ttdeci">v_reg&lt; int64, n &gt; v_shr(const v_reg&lt; int64, n &gt; &amp;a)</div><div class="ttdef"><b>Definition:</b> intrin_cpp.hpp:2927</div></div>
</div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga24ff6e3ec8d93d9e0dde4f308c8ad0cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga24ff6e3ec8d93d9e0dde4f308c8ad0cd">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_CMP_OP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_CMP_OP</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp_op</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">int</span> n&gt; \</div><div class="line">inline v_reg&lt;_Tp, n&gt; <span class="keyword">operator</span> cmp_op(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a, <span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; b) \</div><div class="line">{ \</div><div class="line">    typedef <span class="keyword">typename</span> V_TypeTraits&lt;_Tp&gt;::int_type itype; \</div><div class="line">    v_reg&lt;_Tp, n&gt; c; \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">        c.s[i] = V_TypeTraits&lt;_Tp&gt;::reinterpret_from_int((itype)-(<span class="keywordtype">int</span>)(a.s[i] cmp_op b.s[i])); \</div><div class="line">    return c; \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="gaab5dddc36659025bcf499054aa6ee267"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab5dddc36659025bcf499054aa6ee267">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_MATH_FUNC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_MATH_FUNC</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">func, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cfunc, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_Tp2&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> v_reg&lt;_Tp2, n&gt; func(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a) \</div><div class="line">{ \</div><div class="line">    v_reg&lt;_Tp2, n&gt; c; \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">        c.s[i] = cfunc(a.s[i]); \</div><div class="line">    return c; \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="gafa707e5c423dc3b46968f579d25d40d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafa707e5c423dc3b46968f579d25d40d8">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_MINMAX_FUNC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_MINMAX_FUNC</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">func, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cfunc&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> v_reg&lt;_Tp, n&gt; func(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a, <span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; b) \</div><div class="line">{ \</div><div class="line">    v_reg&lt;_Tp, n&gt; c; \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">        c.s[i] = cfunc(a.s[i], b.s[i]); \</div><div class="line">    return c; \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga52fcf2ab9074198d8ea7f2643e891720"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga52fcf2ab9074198d8ea7f2643e891720">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_REDUCE_MINMAX_FUNC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_REDUCE_MINMAX_FUNC</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">func, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cfunc&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> _Tp func(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a) \</div><div class="line">{ \</div><div class="line">    _Tp c = a.s[0]; \</div><div class="line">    for( <span class="keywordtype">int</span> i = 1; i &lt; n; i++ ) \</div><div class="line">        c = cfunc(c, a.s[i]); \</div><div class="line">    return c; \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
<a id="ga2323457942fdb195a2b1b6aac3bad605"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2323457942fdb195a2b1b6aac3bad605">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_ROTATE_SHIFT_OP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_ROTATE_SHIFT_OP</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">suffix, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">opA, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">opB&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>

<p>Helper macro. </p>

</div>
</div>
<a id="gafc208994b4622b8ef3e21fdad7e387c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafc208994b4622b8ef3e21fdad7e387c2">&#9670;&nbsp;</a></span>OPENCV_HAL_IMPL_SHIFT_OP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPENCV_HAL_IMPL_SHIFT_OP</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">shift_op</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d1/d94/intrin__cpp_8hpp.html">opencv2/core/hal/intrin_cpp.hpp</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">int</span> n&gt; <span class="keyword">inline</span> v_reg&lt;_Tp, n&gt; <span class="keyword">operator</span> shift_op(<span class="keyword">const</span> v_reg&lt;_Tp, n&gt;&amp; a, <span class="keywordtype">int</span> imm) \</div><div class="line">{ \</div><div class="line">    v_reg&lt;_Tp, n&gt; c; \</div><div class="line">    for( <span class="keywordtype">int</span> i = 0; i &lt; n; i++ ) \</div><div class="line">        c.s[i] = (_Tp)(a.s[i] shift_op imm); \</div><div class="line">    return c; \</div><div class="line">}</div></div><!-- fragment -->
<p>Helper macro. </p>

</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:40 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
